/**
 * @Title: P
 * @Author: Lance
 * @Date: 2024/7/19 11:05
 * @Description:
 */
import { hilog } from '@kit.PerformanceAnalysisKit'

const TAG = "P"
const DOMAIN = 0x0000

export class P {

  static d(fmt: string, ...arg: any[]){
    hilog.info(DOMAIN, TAG, fmt, arg)
  }

  static i(fmt: string, ...arg: any[]){
    hilog.info(DOMAIN, TAG, fmt, arg)
  }

  static w(fmt: string, ...arg: any[]){
    hilog.warn(DOMAIN, TAG, fmt, arg)
  }

  static e(fmt: string, ...arg: any[]) {
    hilog.error(DOMAIN, TAG, fmt, arg)
  }

  static f(fmt: string, ...arg: any[]) {
    hilog.fatal(DOMAIN, TAG, fmt, arg)
  }

}